<template>
	<view>
		<view @touchmove.stop.prevent="clear" class="model-container loadingcontainers">
			<image class="loadingicon" src="/static/image/fullloading.gif"></image>
		</view>
		<!--遮罩层-->
		<view class="model-mask-bgcolor mask-bgcolor"></view>
	</view>
</template>

<script>
	export default {
		props: {
			visible: {
				type: Boolean,
				default: true,
			}
		},
		methods: {
			clear() {

			}
		}
	}
</script>

<style lang="scss">
	.model-container,
	.model-mask-bgcolor {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	//背景隐藏
	.mask-bgcolor {
		background-color: #fff;
		z-index: 999;
	}

	.loadingcontainers {
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 9999;
		flex-direction: column;

		.loadingicon {
			width: 120rpx;
			height: 48rpx;
		}
	}
</style>
